<style>
li.action { padding: 5px 20px; }
</style>
<form action="/m/order/getGift" method="POST" name="getGift">
    <div id="buy-address" class="order-accept" style="display: none;">
        <h2 class="accept">
            收货信息
            <{if $address|@count > 0}>
            <a href="/address/add" style="color: orange; font-weight: normal; padding-left: 1em;">添加新地址</a>
            <{/if}>
        </h2>
        <{if $address|@count == 0}>
            <h3 class="address">
                <span><a href="/address/add" style="display: block; color: #000;">请填写收货地址</a></span>
                <em class=rightIcon></em>
            </h3>
        <{else}>
        <ul class="user-address">
            <{foreach from=$address item="addr"}>
            <li>
                <label>
                    <input type="radio" class="radio" name="addressId" value="<{$addr.id}>">
                    <span class="user-prompt">
                        <{$addr.userName}> <{$addr.telNumber}> <{$addr.detailInfo}>
                    </span>
                </label>
            </li>
            <{/foreach}>
        </ul>
        <{/if}>
    </div>

    <input type="hidden" name="orderNo" value="<{$order.orderNo}>">
</form>


